

jQuery(function ($) {
    //点击搜索跳转搜索页
    $('#search_btn').click(function () {
        var keyword = $('#search').val();
        var keyword_p = $('#search').attr('placeholder');
        if (keyword == "") {
            keyword = keyword_p;
        }
        if(!keyword){
           return;
        }
        window.location.href = '/question/question_search.html?keyword=' + keyword;
    });
});